//
//  CustomView.m
//  CustomViewNib
//
//  Created by Ahha on 7/31/13.
//  Copyright (c) 2013 Ahha. All rights reserved.
//

#import "CustomView.h"

@implementation CustomView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

+ (id)customView{
    CustomView *customView = [[[NSBundle mainBundle] loadNibNamed:@"CustomView" owner:nil options:nil]lastObject];
    if ([customView isKindOfClass:[CustomView class]]) {
        return customView;
    }else{
        return nil;
    }
}

@end
